import request from '@/utils/request'
// 分页查询
export const getPageOperateLog = (page, pageSize, operateUser, operateMethod, operateClass, operateArgs, operateReturn, begin, end) => {
  return request.get('/operateLog/page', {
    params: {
      page,
      pageSize,
      operateUser,
      operateMethod,
      operateClass,
      operateArgs,
      operateReturn,
      begin,
      end
    }
  })
}

// 根据id删除日志
export const deleteById = (id) => {
  return request.delete('/operateLog/' + id)
}
